package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 属性值表
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
@TableName("good_property_value")
@ApiModel(value = "GoodPropertyValue对象", description = "属性值表")
public class GoodPropertyValue implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "property_value_id", type = IdType.AUTO)
    private Integer propertyValueId;

    @ApiModelProperty("属性值")
    private String propertValue;

    @ApiModelProperty("关联属性名id")
    private Integer propertyId;

    @ApiModelProperty("逻辑删除(0正常，1删除)")
    private Integer deleted;

    public Integer getPropertyValueId() {
        return propertyValueId;
    }

    public void setPropertyValueId(Integer propertyValueId) {
        this.propertyValueId = propertyValueId;
    }

    public String getPropertValue() {
        return propertValue;
    }

    public void setPropertValue(String propertValue) {
        this.propertValue = propertValue;
    }

    public Integer getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(Integer propertyId) {
        this.propertyId = propertyId;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "GoodPropertyValue{" +
        "propertyValueId = " + propertyValueId +
        ", propertValue = " + propertValue +
        ", propertyId = " + propertyId +
        ", deleted = " + deleted +
        "}";
    }
}
